100
|
How can I remove a bookmark
public void init()
{
;
super();
exedit1.Bookmark(2,true);
exedit1.Bookmark(2,false);
exedit1.BookmarkWidth(16);
}
|
99
|
How can I remove all bookmarks
public void init()
{
;
super();
exedit1.Bookmark(2,true);
exedit1.Bookmark(4,true);
exedit1.BookmarkWidth(16);
exedit1.ClearBookmarks();
}
|
98
|
How can I add a bookmark

public void init()
{
;
super();
exedit1.Bookmark(2,true);
exedit1.Bookmark(4,true);
exedit1.BookmarkWidth(16);
}
|
97
|
How can I change the format to display the numbers

public void init()
{
;
super();
exedit1.FormatNumbers("<b><fgcolor=FF0000> </fgcolor></b>");
exedit1.InsertText("Just numbers: 12 22\\r\\n",COMVariant::createFromInt(1));
}
|
96
|
Is there any option to change the color for the line that displays the cursor or the caret

public void init()
{
;
super();
exedit1.BackColorCaretLine(WinApi::RGB2int(255,0,0));
}
|
95
|
Can I display the lines using an alternate color

public void init()
{
;
super();
exedit1.BackColorAlternate(WinApi::RGB2int(255,0,0));
}
|
94
|
How can I disable or enable displaying the Replace dialog
public void init()
{
;
super();
exedit1.AllowReplace(false);
}
|
93
|
Does your control support incrementasl search

public void init()
{
;
super();
exedit1.AllowIncrementalSearch(true);
}
|
92
|
How can I programmatically find or search for a word only
public void init()
{
;
super();
exedit1.HideSelection(false);
exedit1.Find("IDD_DIALOG_INSTALL",2/*exMatchWholeWordOnly*/);
}
|
91
|
How can I programmatically find or search for a string

public void init()
{
;
super();
exedit1.HideSelection(false);
exedit1.Find("public",0/*exSearchDown*/);
}
|
90
|
How can I disable or enabled the Find dialog
public void init()
{
;
super();
exedit1.AllowFind(false);
}
|
89
|
How can I enable my button as the control can perform an REDO operation

public void init()
{
boolean var_CanRedo;
;
super();
var_CanRedo = exedit1.CanRedo();
}
|
88
|
How can I enable my button as the control can perform an UNDO operation
public void init()
{
boolean var_CanUndo;
;
super();
var_CanUndo = exedit1.CanUndo();
}
|
87
|
How can I disable or enable the undo-redo feature

public void init()
{
;
super();
exedit1.AllowUndoRedo(false);
}
|
86
|
How can I change the color for the border where the line numbers are displayed

public void init()
{
;
super();
exedit1.LineNumberForeColor(WinApi::RGB2int(255,0,0));
exedit1.LineNumberBackColor(WinApi::RGB2int(0,0,255));
exedit1.LineNumberWidth(32);
}
|
85
|
How can I change the color of the bookmark border

public void init()
{
;
super();
exedit1.BookMarkBackColor(WinApi::RGB2int(255,0,0));
exedit1.BookMarkBackColor2(WinApi::RGB2int(255,0,0));
exedit1.BookmarkWidth(16);
}
|
84
|
How can I refresh the control

public void init()
{
;
super();
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
83
|
How can I change the size of the tabs characters

public void init()
{
;
super();
exedit1.TabLength(8);
}
|
82
|
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
public void init()
{
;
super();
exedit1.OpenBrackets("<");
exedit1.CloseBrackets(">");
}
|
81
|
How can I hide the selection
public void init()
{
;
super();
exedit1.DisplaySelection(false);
}
|
80
|
How can I display both scroll bars

public void init()
{
;
super();
exedit1.ScrollBars(3/*exBoth*/);
}
|
79
|
How can I display only the vertical scroll bar

public void init()
{
;
super();
exedit1.ScrollBars(2/*exVertical*/);
}
|
78
|
How can I display only the horizontal scroll bar

public void init()
{
;
super();
exedit1.ScrollBars(1/*exHorizontal*/);
}
|
77
|
How can I hide the control's scroll bars

public void init()
{
;
super();
exedit1.ScrollBars(0/*exNoScroll*/);
}
|
76
|
How can I insert at specified position a new line

public void init()
{
;
super();
exedit1.InsertText("newline\\r\\n",COMVariant::createFromInt(2));
exedit1.BackColorLine(2,WinApi::RGB2int(255,0,0));
}
|
75
|
How can I remove or delete all lines
public void init()
{
;
super();
exedit1.Text("");
}
|
74
|
How can I remove or delete a line

public void init()
{
;
super();
exedit1.DeleteLine(1);
}
|
73
|
How do I change the character where the caret or the cursor is displayed
public void init()
{
;
super();
exedit1.CaretPos(10);
}
|
72
|
How do I change the line where the caret or the cursor is displayed
public void init()
{
;
super();
exedit1.CaretLine(10);
}
|
71
|
How do I replace a line

public void init()
{
;
super();
exedit1.TextLine(1,"new line");
}
|
70
|
How do I get a line
public void init()
{
;
super();
exedit1.TextLine(1,"new line");
}
|
69
|
How do I get the number of lines in the control
public void init()
{
int var_Count;
;
super();
var_Count = exedit1.Count();
}
|
68
|
How do I get the point where the selection starts

public void init()
{
;
super();
exedit1.SelStart(4);
exedit1.SelLength(10);
exedit1.HideSelection(false);
}
|
67
|
How do I get the number of selected characters

public void init()
{
;
super();
exedit1.SelLength(10);
exedit1.HideSelection(false);
}
|
66
|
How can I get the selected text
public void init()
{
str var_SelText;
;
super();
exedit1.SelLength(10);
var_SelText = exedit1.SelText();
}
|
65
|
How can I replace the selected text

public void init()
{
;
super();
exedit1.SelLength(10);
exedit1.SelText("-new selection-");
}
|
64
|
How can I avoid changing the colors for keywords or expressions

public void init()
{
;
super();
exedit1.ApplyColors(false);
exedit1.AddKeyword("<fgcolor=FF0000><b>class</b></fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
63
|
How can I display HTML text

public void init()
{
;
super();
exedit1.EditType(2/*exHTML*/);
exedit1.Text("<b>just a HTML text</b>\\r\\nnew <s>line</s>");
}
|
62
|
How can I use it a a simple edit control, without highlighting

public void init()
{
;
super();
exedit1.EditType(0/*exStandard*/);
}
|
61
|
How can I save the text to a file
public void init()
{
;
super();
}
|
60
|
How can I save the text to a file
public void init()
{
;
super();
}
|
59
|
How can I load text from a file
public void init()
{
;
super();
}
|
58
|
How can I load text from a file
public void init()
{
;
super();
}
|
57
|
How can I display only a single line
public void init()
{
;
super();
exedit1.MultiLine(false);
}
|
56
|
How can I disable displaying multiple lines
public void init()
{
;
super();
exedit1.MultiLine(false);
}
|
55
|
How can change the color for selected text

public void init()
{
;
super();
exedit1.HideSelection(false);
exedit1.SelLength(10);
exedit1.SelBackColor(WinApi::RGB2int(255,0,0));
}
|
54
|
How can change the color for selected text

public void init()
{
;
super();
exedit1.HideSelection(false);
exedit1.SelLength(10);
exedit1.SelForeColor(WinApi::RGB2int(255,0,0));
}
|
53
|
How can I disable displaying the control's context menu
public void init()
{
;
super();
exedit1.AllowContextMenu(false);
}
|
52
|
Is there any option to hide the caret or the cursor
public void init()
{
;
super();
exedit1.ShowCaret(false);
}
|
51
|
How can still display the selected text when the control loses the focus

public void init()
{
;
super();
exedit1.HideSelection(false);
exedit1.SelLength(10);
}
|
50
|
How can I disable adding new TAB characters when the user enters a new line
public void init()
{
;
super();
exedit1.AutoIndent(false);
}
|
49
|
How can I disable using the Tab key
public void init()
{
;
super();
exedit1.UseTabKey(false);
}
|
48
|
How can I hide the number of each line
public void init()
{
;
super();
exedit1.LineNumberWidth(0);
}
|
47
|
How can I display or show the number of each line

public void init()
{
;
super();
exedit1.LineNumberWidth(32);
}
|
46
|
How can I clear the text
public void init()
{
;
super();
exedit1.Text("");
}
|
45
|
How can I specify the text being displayed in the control

public void init()
{
;
super();
exedit1.Text("new line\\r\\nnew line");
}
|
44
|
How can I hide the bookmark border
public void init()
{
;
super();
exedit1.BookmarkWidth(0);
}
|
43
|
How can I show the bookmark border

public void init()
{
;
super();
exedit1.BookmarkWidth(16);
}
|
42
|
How do I lock the control

public void init()
{
;
super();
exedit1.Locked(true);
}
|
41
|
How do I disable or enable the control
public void init()
{
;
super();
exedit1.Enabled(false);
}
|
40
|
How can I change the visual appearance of the splitter

public void init()
{
;
super();
exedit1.AllowSplitter(3/*exBothSplitter*/);
exedit1.SplitPaneWidth(128);
exedit1.SplitPaneHeight(128);
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.Background(0/*exHSplitterApp*/,0x1000000);
exedit1.Background(1/*exVSplitterApp*/,0x1000000);
exedit1.Background(2/*exISplitterApp*/,0x2000000);
}
|
39
|
How can I change the visual appearance of the vertical splitter

public void init()
{
;
super();
exedit1.AllowSplitter(3/*exBothSplitter*/);
exedit1.SplitPaneWidth(128);
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.Background(0/*exHSplitterApp*/,0x1000000);
}
|
38
|
How can I change the visual appearance of the horizontal splitter

public void init()
{
;
super();
exedit1.AllowSplitter(3/*exBothSplitter*/);
exedit1.SplitPaneHeight(128);
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.Background(1/*exVSplitterApp*/,0x1000000);
}
|
37
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

public void init()
{
;
super();
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
exedit1.Background(388/*exHSThumb*/,0x1000000);
exedit1.Background(389/*exHSThumbP*/,0x2000000);
exedit1.Background(391/*exHSThumbH*/,0x3000000);
exedit1.Background(260/*exVSThumb*/,0x1000000);
exedit1.Background(261/*exVSThumbP*/,0x2000000);
exedit1.Background(263/*exVSThumbH*/,0x3000000);
}
|
36
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

public void init()
{
;
super();
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
exedit1.Background(388/*exHSThumb*/,0x1000000);
exedit1.Background(389/*exHSThumbP*/,0x2000000);
exedit1.Background(391/*exHSThumbH*/,0x3000000);
exedit1.ScrollThumbSize(1/*exHScroll*/,96);
}
|
35
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

public void init()
{
;
super();
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
exedit1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
exedit1.Background(324/*exSBtn*/,0x1000000);
exedit1.Background(325/*exSBtnP*/,0x2000000);
exedit1.Background(327/*exSBtnH*/,0x3000000);
exedit1.Background(404/*exHSBack*/,WinApi::RGB2int(240,240,240));
exedit1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240));
exedit1.Background(3/*exSizeGrip*/,WinApi::RGB2int(240,240,240));
}
|
34
|
Can I change the forecolor for the tooltip

public void init()
{
;
super();
exedit1.ToolTipDelay(1);
exedit1.ToolTipWidth(364);
exedit1.Background(66/*exToolTipForeColor*/,WinApi::RGB2int(255,0,0));
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
33
|
Can I change the background color for the tooltip

public void init()
{
;
super();
exedit1.ToolTipDelay(1);
exedit1.ToolTipWidth(364);
exedit1.Background(65/*exToolTipBackColor*/,WinApi::RGB2int(255,0,0));
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
32
|
Can I change the default border of the tooltip, using your EBN files

public void init()
{
;
super();
exedit1.ToolTipDelay(1);
exedit1.ToolTipWidth(364);
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.Background(64/*exToolTipAppearance*/,0x1000000);
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
31
|
How do I call your x-script language

public void init()
{
;
super();
exedit1.ExecuteTemplate("BackColor = RGB(255,0,0)");
}
|
30
|
How do I call your x-script language

public void init()
{
;
super();
exedit1.Template("BackColor = RGB(255,0,0)");
}
|
29
|
Can I change the font for the tooltip

public void init()
{
COM com_StdFont;
anytype var_StdFont;
;
super();
exedit1.ToolTipDelay(1);
var_StdFont = exedit1.ToolTipFont(); com_StdFont = var_StdFont;
com_StdFont.Name("Tahoma");
com_StdFont.Size(14);
exedit1.ToolTipWidth(364);
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
28
|
I've seen that the width of the tooltip is variable. Can I make it larger

public void init()
{
;
super();
exedit1.ToolTipWidth(328);
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
27
|
How do I let the tooltip being displayed longer

public void init()
{
;
super();
exedit1.ToolTipPopDelay(10000);
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
26
|
How do I disable showing the tooltip for all control
public void init()
{
;
super();
exedit1.ToolTipDelay(0);
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
25
|
How do I show the tooltip quicker

public void init()
{
;
super();
exedit1.ToolTipDelay(1);
exedit1.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit");
exedit1.Refresh();
}
|
24
|
Can I change the order of the buttons in the scroll bar

public void init()
{
;
super();
exedit1.ScrollOrderParts(1/*exHScroll*/,"t,l,r");
exedit1.ScrollOrderParts(0/*exVScroll*/,"t,l,r");
}
|
23
|
The thumb size seems to be very small. Can I make it bigger

public void init()
{
;
super();
exedit1.ScrollThumbSize(1/*exHScroll*/,164);
}
|
22
|
How do I enlarge or change the size of the control's scrollbars

public void init()
{
;
super();
exedit1.ScrollHeight(18);
exedit1.ScrollWidth(18);
exedit1.ScrollButtonWidth(18);
exedit1.ScrollButtonHeight(18);
}
|
21
|
How can I display my text on the scroll bar, using a different font

public void init()
{
COM com_StdFont;
anytype var_StdFont;
;
super();
exedit1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"This is just a text");
var_StdFont = COM::createFromObject(exedit1.ScrollFont(1/*exHScroll*/)); com_StdFont = var_StdFont;
com_StdFont.Size(12);
exedit1.ScrollThumbSize(1/*exHScroll*/,128);
exedit1.ScrollHeight(24);
exedit1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"This is <s><font Tahoma;12> just </font></s> text");
exedit1.ScrollHeight(20);
}
|
20
|
How can I display my text on the scroll bar

public void init()
{
;
super();
exedit1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"this is just a text");
exedit1.ScrollThumbSize(1/*exHScroll*/,96);
}
|
19
|
How do I assign a tooltip to a scrollbar

public void init()
{
;
super();
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.ScrollToolTip(1/*exHScroll*/,"This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
}
|
18
|
How do I assign an icon to the button in the scrollbar

public void init()
{
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exedit1.Images(COMVariant::createFromStr(var_s));
exedit1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
exedit1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"<img>1</img>");
exedit1.ScrollHeight(18);
exedit1.ScrollButtonWidth(18);
}
|
17
|
I need to add a button in the scroll bar. Is this possible

public void init()
{
;
super();
exedit1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
exedit1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"1");
}
|
16
|
Can I display an additional buttons in the scroll bar

public void init()
{
;
super();
exedit1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
exedit1.ScrollPartVisible(1/*exHScroll*/,16384/*exLeftB2Part*/,true);
exedit1.ScrollPartVisible(1/*exHScroll*/,1/*exRightB6Part*/,true);
exedit1.ScrollPartVisible(1/*exHScroll*/,2/*exRightB5Part*/,true);
}
|
15
|
How do I change the control's foreground color

public void init()
{
;
super();
exedit1.ForeColor(WinApi::RGB2int(255,0,0));
}
|
14
|
How do I change the control's background color

public void init()
{
;
super();
exedit1.BackColor(WinApi::RGB2int(200,200,200));
}
|
13
|
How can I change the control's font

public void init()
{
;
super();
exedit1.Font().Name("Verdana");
}
|
12
|
How do I put a picture on the center of the control

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
exedit1.PictureDisplay(17/*exMiddleCenter*/);
}
|
11
|
How do I resize/stretch a picture on the control's background

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
exedit1.PictureDisplay(49/*exStretch*/);
}
|
10
|
How do I put a picture on the control's center right bottom side

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
exedit1.PictureDisplay(34/*exLowerRight*/);
}
|
9
|
How do I put a picture on the control's center left bottom side

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
exedit1.PictureDisplay(32/*exLowerLeft*/);
}
|
8
|
How do I put a picture on the control's center top side

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
exedit1.PictureDisplay(1/*exUpperCenter*/);
}
|
7
|
How do I put a picture on the control's right top corner

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
exedit1.PictureDisplay(2/*exUpperRight*/);
}
|
6
|
How do I put a picture on the control's left top corner

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
exedit1.PictureDisplay(0/*exUpperLeft*/);
}
|
5
|
How do I put a picture on the control's background

public void init()
{
;
super();
exedit1.Picture(exedit1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
}
|
4
|
How do I change the control's border, using your EBN files

public void init()
{
;
super();
exedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exedit1.Appearance(16777216);
}
|
3
|
How do I remove the control's border

public void init()
{
;
super();
exedit1.Appearance(0/*exNone*/);
}
|
2
|
How can I add a line

public void init()
{
;
super();
exedit1.InsertText(" - insert the line as the last - \\r\\n");
}
|
1
|
How can I insert a line

public void init()
{
;
super();
exedit1.InsertText(" - insert the line as the first - \\r\\n",COMVariant::createFromInt(1));
}
|